const express = require("express");
const router = require("./apiRouter");
const cors = require("cors");
const app = express();

app.use(express.urlencoded({ extended: false }));
app.use(express.json());
app.use(cors());

app.use("/api", router);

app.listen(80, () => {
  console.log("Express Server running at http://127.0.0.1");
});
